package com.hushui.mall.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hushui.common.utils.PageUtils;
import com.hushui.mall.commodity.entity.AttrEntity;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author miya
 * @email sunlightcs@gmail.com
 * @date 2023-03-16 11:38:46
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);
    PageUtils queryPage(Map<String, Object> params,Long catelogId);
    PageUtils queryVoPage(Map<String, Object> params,Long catelogId);
    ArrayList<Long> getPath(Long catelogId);
    /**
     * 查找检索属性
     * */
    List<Long> selectSearchAttrs(List<Long> attrIds);
}

